package com.huawei.appgallery.foundation.card.base.bean;

import android.text.TextUtils;
import com.huawei.appgallery.foundation.ui.framework.cardframe.bean.BaseCardBean;
import com.huawei.appgallery.jsonkit.api.annotation.FieldSecurity;
import com.huawei.appgallery.jsonkit.api.annotation.SecurityLevel;
import com.tencent.mm.opensdk.modelmsg.WXMediaMessage;
import java.io.Serializable;
import java.util.List;
import o.cdb;
import o.cdg;
import o.HcridSession;

public class BaseDistCardBean extends BaseCardBean implements Serializable {
    public static final int APP_ANDROID = 0;
    public static final int APP_MAPLE = 1;
    public static final int APP_TYPE_2C = 1;
    public static final int CTYPE_DISCONTINUED = 16;
    public static final int CTYPE_FAST_APP = 3;
    public static final int CTYPE_GOOGLE = 2;
    public static final int CTYPE_H5 = 1;
    public static final int CTYPE_NATIVE = 0;
    public static final int CTYPE_NO_APK_AUTH = 11;
    public static final int CTYPE_NO_APK_UNAUTH = 12;
    public static final int CTYPE_ORDER = 4;
    public static final int CTYPE_VAN_ATTEND = 15;
    public static final int CTYPE_WISH = 14;
    public static final int DATA_FREE_STATE = 1;
    public static final int DEPEND_GMS = 1;
    public static final int DIS_DOWNLOAD_FLAG = 2;
    public static final int DIS_OPEN_DETAIL_FLAG = 4;
    public static final int DIS_OPEN_FLAG = 1;
    public static final int FILTER_INSTALLED = 1;
    public static final int FILTER_UPDATABLE = 2;
    public static final int LINK_MODE_DEFAULT = -1;
    public static final int LINK_MODE_DOWNLOAD = 1;
    public static final int LINK_MODE_JUMP = 2;
    public static final int NO_FILTER = 0;
    public static final int STATUS_OFF = 0;
    public static final int STATUS_ON = 1;
    private static final long serialVersionUID = 8157488219300696035L;
    private String aliasName_;
    private int appType_ = 1;
    private int btnDisable_ = 0;
    private long bundleSize_;
    private int ctype_ = 0;
    private String deeplinkOrder_;
    private List<DependAppBean> dependentedApps_;
    private String detailPageUrl_;
    private boolean dldBtnEnabled = true;
    private String downurl_;
    private String exIcon_;
    private WatchVRInfoBean exIcons_;
    private String extIntro_;
    private String fUrl_;
    private String familyShare = "0";
    public int genShortcutForWebApp_ = 0;
    private int gmsSupportFlag_;
    private String gmsUrl_;
    public String gplinkPkgName_;
    private IntentInfoBean intentInfo_;
    public int jumpToGpOnGMSDevice_ = 0;
    private int linkMode_ = -1;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String localPrice_;
    private int maple_ = 0;
    private int minAge_;
    private String needInstallFilter_ = "";
    private List<String> newLabelUrl_;
    private String openCountDesc_ = "";
    private String openurl_;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String price_;
    private String productId_;
    private String referrerParam = null;
    private String sha256_;
    private String sizeDesc_;
    private long size_;
    private String stars_;
    private List<String> tagImgUrls_;
    private String tagName_;
    private String trackId_ = null;
    private String versionCode_ = "0";
    private int videoFlag_;
    public int webApp_ = 0;
    private String wishWallReplyId_;

    public String ʼ() {
        return this.gmsUrl_;
    }

    public void ˎ(String str) {
        this.gmsUrl_ = str;
    }

    public void ˊ(int i) {
        this.gmsSupportFlag_ = i;
    }

    public String ᐝ() {
        return this.familyShare;
    }

    public void ˏ(String str) {
        this.familyShare = str;
    }

    public String ˋॱ() {
        return this.needInstallFilter_;
    }

    public int ˏॱ() {
        return this.maple_;
    }

    public void ˎ(int i) {
        this.maple_ = i;
    }

    public int ͺ() {
        return this.ctype_;
    }

    public void ˏ(int i) {
        this.ctype_ = i;
    }

    public String ˊॱ() {
        return this.fUrl_;
    }

    public void ʽ(String str) {
        this.fUrl_ = str;
    }

    public String ॱˊ() {
        return this.openurl_;
    }

    public void ᐝ(String str) {
        this.openurl_ = str;
    }

    public List<String> ॱᐝ() {
        return this.tagImgUrls_;
    }

    public void ˋ(List<String> list) {
        this.tagImgUrls_ = list;
    }

    public String ॱˎ() {
        return this.openCountDesc_;
    }

    public void ॱॱ(String str) {
        this.openCountDesc_ = str;
    }

    public void ॱ(int i) {
        this.minAge_ = i;
    }

    public int ʻॱ() {
        return this.minAge_;
    }

    public boolean ˋ(int i) {
        if (TextUtils.isEmpty(ॱـ()) || ˋॱ().equals("0")) {
            return false;
        }
        int ˋ;
        if ((i & 1) == 1) {
            ˋ = ((cdg) cdb.ॱ(cdg.class)).ˋ(ॱـ());
            if (ˋ == 0 || ˋ == 2) {
                return true;
            }
        }
        if ((i & 2) != 2) {
            return false;
        }
        ˋ = ((cdg) cdb.ॱ(cdg.class)).ˋ(ॱـ());
        boolean z = ˋ == 3 || ˋ == 4;
        return z;
    }

    public boolean ᐝॱ() {
        return ˊˋ() != null && ˊˋ().length() > 0;
    }

    public String ॱˋ() {
        return ॱʻ();
    }

    public boolean ˈ() {
        if (HcridSession.ˋ().appsstoreGMSSupport() || this.gmsSupportFlag_ != 1 || TextUtils.isEmpty(this.gmsUrl_)) {
            return false;
        }
        return true;
    }

    public String toString() {
        return new StringBuilder(WXMediaMessage.TITLE_LENGTH_LIMIT).append(getClass().getName()).append(" {\n\tappid_: ").append(ͺˏ()).append("\n\ticon_: ").append(ॱˌ()).append("\n\tgifIcon_: ").append(ॱˑ()).append("\n\tname_: ").append(v_()).append("\n\tintro_: ").append(O_()).append("\n\tdetailId_: ").append(ॱॱ()).append("\n\tstars_: ").append(this.stars_).append("\n\tdownurl_: ").append(this.downurl_).append("\n\tpackage_: ").append(ॱـ()).append("\n\tsize_: ").append(String.valueOf(this.size_)).append("\n\ttrace_: ").append(u_()).append("\n\tgmsSupportFlag_: ").append(this.gmsSupportFlag_).append("\n\tgmsUrl_: ").append(this.gmsUrl_).append("\n}").toString();
    }

    public String ʽॱ() {
        return this.aliasName_;
    }

    public void ʼ(String str) {
        this.aliasName_ = str;
    }

    public String ʿ() {
        return this.stars_;
    }

    public void ʻ(String str) {
        this.stars_ = str;
    }

    public String ʾ() {
        return this.downurl_;
    }

    public void ˏॱ(String str) {
        this.downurl_ = str;
    }

    public String ʼॱ() {
        return this.sha256_;
    }

    public void ˋॱ(String str) {
        this.sha256_ = str;
    }

    public List<String> ˊᐝ() {
        return this.newLabelUrl_;
    }

    public void ˊ(List<String> list) {
        this.newLabelUrl_ = list;
    }

    public long ˉ() {
        return this.size_;
    }

    public void ॱ(long j) {
        this.size_ = j;
    }

    public String ˋˊ() {
        return this.price_;
    }

    public void ˊॱ(String str) {
        this.price_ = str;
    }

    public String ˊˋ() {
        return this.productId_;
    }

    public void ॱˊ(String str) {
        this.productId_ = str;
    }

    public List<DependAppBean> ˊˊ() {
        return this.dependentedApps_;
    }

    public void ॱ(List<DependAppBean> list) {
        this.dependentedApps_ = list;
    }

    public int ˍ() {
        return this.videoFlag_;
    }

    public void ॱॱ(int i) {
        this.videoFlag_ = i;
    }

    public String ˋᐝ() {
        return this.exIcon_;
    }

    public void ͺ(String str) {
        this.exIcon_ = str;
    }

    public String ˎˎ() {
        return this.versionCode_;
    }

    public void ॱᐝ(String str) {
        this.versionCode_ = str;
    }

    public int ˌ() {
        return this.btnDisable_;
    }

    public void ʻ(int i) {
        this.btnDisable_ = i;
    }

    public WatchVRInfoBean ˋˋ() {
        return this.exIcons_;
    }

    public IntentInfoBean ˑ() {
        return this.intentInfo_;
    }

    public String ˏˎ() {
        return this.extIntro_;
    }

    public String ˎˏ() {
        return this.sizeDesc_;
    }

    public void ॱˋ(String str) {
        this.sizeDesc_ = str;
    }

    public String ˋ() {
        if (ͺˏ() == null) {
            return ॱॱ();
        }
        return ͺˏ();
    }

    public boolean ͺॱ() {
        return this.dldBtnEnabled;
    }

    public void ˋ(boolean z) {
        this.dldBtnEnabled = z;
    }

    public String ˏˏ() {
        return this.tagName_;
    }

    public boolean ॱʽ() {
        return false;
    }

    public int ॱʼ() {
        return this.appType_;
    }

    public String ॱʻ() {
        return this.localPrice_;
    }

    public void ᐝॱ(String str) {
        this.localPrice_ = str;
    }

    public int ـ() {
        return this.linkMode_;
    }

    public String ॱͺ() {
        return this.deeplinkOrder_;
    }

    public String ᐧ() {
        return this.detailPageUrl_;
    }

    public String ᐝᐝ() {
        return this.wishWallReplyId_;
    }

    public String ᐨ() {
        return this.referrerParam;
    }

    public void ʻॱ(String str) {
        this.referrerParam = str;
    }

    public String ᐝˊ() {
        return this.trackId_;
    }

    public void ॱˎ(String str) {
        this.trackId_ = str;
    }

    public long ᐝˋ() {
        return this.bundleSize_;
    }
}
